﻿namespace EAL
{
    using System.Windows;

    /// <summary>
    /// Interaktionslogik für MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            if (!(Application.Current as App).IsShutdowning)
            {
                Application.Current.ShutdownMode = ShutdownMode.OnLastWindowClose;
            }
        }

        private void MenuItem_Click(object sender, RoutedEventArgs e)
        {
            Feedback windowFeedback = new Feedback();
            windowFeedback.Owner = this;
            windowFeedback.Show();
        }

        private void MenuItem_Click_1(object sender, RoutedEventArgs e)
        {
            Info wndInfo = new Info();
            wndInfo.Owner = this;
            wndInfo.ShowDialog();
        }
    }
}
